﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ProcessMonitor
{
    public partial class FrmHelp : Form
    {
        public FrmHelp()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void FrmHelp_Load(object sender, EventArgs e)
        {
            this.label1.Text = "版本号：" + ProcessData.VesinNo;

            var tmplist = ProcessData.VersionInfo.ToArray().ToList();
            tmplist.Reverse();

            StringBuilder sb = new StringBuilder();
            foreach (var item in tmplist)
            {
                sb.AppendLine(item);
            }
            this.richTextBox1.Text += sb.ToString();
        }
    }
}
